home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 26.zip / BS1 part 26 / Aztec C v5.2a disk 4.adf / incl52.lzh / clib / alib_protos.h
C/C++ Source or Header  |  1991-09-25  |  3KB  |  72 lines

  1. #ifndef  CLIB_ALIB_PROTOS_H
  2. #define  CLIB_ALIB_PROTOS_H
  3. /*
  4. **    $Filename: clib/alib_protos.h $
  5. **    $Release: 2.04 $
  6. **    $Revision: 1.1 $
  7. **    $Date: 90/11/07 $
  8. **
  9. **    C prototypes. For use with 32 bit integers only.
  10. **
  11. **    (C) Copyright 1990 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef  DEVICES_TIMER_H
  18. #include <devices/timer.h>
  19. #endif
  20. #ifndef  LIBRARIES_MATHFFP_H
  21. /* #include <libraries/mathffp.h>    *jd 9/25/91 don't include mathffp.h */
  22. #endif
  23. #ifndef  LIBRARIES_COMMODITIES_H
  24. #include <libraries/commodities.h>
  25. #endif
  26. /*--- functions in V36 or higher (distributed as Release 2.0) ---*/
  27. void BeginIO( struct IORequest *io );
  28. struct IORequest *CreateExtIO( struct MsgPort *msg, long size );
  29. struct MsgPort *CreatePort( UBYTE *name, long pri );
  30. struct IOStdReq *CreateStdIO( struct MsgPort *msg );
  31. struct Task *CreateTask( UBYTE *name, long pri, APTR initPC,
  32.     unsigned long stackSize );
  33. void DeleteExtIO( struct IORequest *io );
  34. void DeletePort( struct MsgPort *io );
  35. void DeleteStdIO( struct IOStdReq *io );
  36. void DeleteTask( struct Task *task );
  37. void NewList( struct List *list );
  38. LONG NameFromAnchor( struct AnchorPath *anchor, UBYTE *buffer, long buflen );
  39. /* in clib; from graphics.library; */
  40. void AddTOF( struct Isrvstr *i, long (*p)(), long a );
  41. void RemTOF( struct Isrvstr *i );
  42. void waitbeam( long b );
  43. /* in math_support */
  44. FLOAT afp( BYTE *string );
  45. void arnd( long place, long exp, BYTE *string );
  46. FLOAT dbf( unsigned long exp, unsigned long mant );
  47. LONG fpa( FLOAT fnum, BYTE *string );
  48. void fpbcd( FLOAT fnum, BYTE *string );
  49. /* in timer_support */
  50. LONG TimeDelay( long unit, unsigned long secs, unsigned long microsecs );
  51. LONG DoTimer( struct timeval *, long unit, long command );
  52. /**/
  53. /*  Amiga.lib Functions */
  54. /**/
  55. void ArgArrayDone( void );
  56. UBYTE **ArgArrayInit( long arg1, UBYTE **arg2 );
  57. LONG ArgInt( UBYTE **arg1, UBYTE *arg2, long arg3 );
  58. UBYTE *ArgString( UBYTE **arg1, UBYTE *arg2, UBYTE *arg3 );
  59. CxObj *HotKey( UBYTE *arg1, struct MsgPort *arg2, long arg3 );
  60. struct InputEvent *InvertString( UBYTE *arg1, ULONG *arg2 );
  61. /**/
  62. /* Macros */
  63. /**/
  64. /* CxObj  *CxCustom(LONG(*)(),LONG)              (A0,D0) */
  65. /* CxObj  *CxDebug(LONG)                  (D0) */
  66. /* CxObj  *CxFilter(BYTE *)                  (A0) */
  67. /* CxObj  *CxSender(struct MsgPort *,LONG)          (A0,D0) */
  68. /* CxObj  *CxSignal(struct Task *,LONG)          (A0,D0) */
  69. /* CxObj  *CxTranslate(struct InputEvent *)          (A0) */
  70. /* CxObj  *CxTypeFilter(LONG)                  (D0) */
  71. #endif     /* CLIB_ALIB_PROTOS_H */
  72.